package com.ttms.service;

import com.ttms.pojo.Page;
import com.ttms.pojo.Schedule;

import java.util.List;

public interface ScheduleService {

    public void addSchedule(Schedule schedule);

    public void deleteScheduleById(Integer id);

    public void updateSchedule(Schedule schedule);

    public Schedule queryScheduleById(Integer id);

    public List<Schedule> querySchedules();

    Page<Schedule> page(int pageNo, int pageSize);

    public Page<Schedule> queryScheduleByPlayId(int begin, int pageSize, int play_id);

}
